import { deprecate } from 'core-decorators'

class Person {
  @deprecate('即将费用', { url: 'www.baidu.com' })
  name() {
    return 'zhang san'
  }
}

let p = new Person()
p.name()